package com.webside.playbackstatistics.mapper;

import java.util.Date;
import java.util.Map;
import org.springframework.stereotype.Repository;

import com.webside.base.basemapper.BaseMapper;
import com.webside.resource.model.ResourceEntity;

/***
 * 
 * @author Administrator
 *
 */
@Repository
public interface PlayStatisticsMapper extends BaseMapper<ResourceEntity, Long> {

	// 根据传入的时间查询今日的的总评论数或者点赞数
	public int commentSum(Map timeAndType);

	// 根据传入的时间和片名查询今日的的总评论数总评论数和点赞数
	public int conditionCommentSum(Map timeTypeName);
	
	
}
